package com.cc.entity;

import java.io.Serial;
import java.io.Serializable;

public class Home implements Serializable {
    @Serial
    private static final long serialVersionUID = -4713238765306830626L;

    //id
    private int id;
    //姓名
    private String name;
    //地址
    private String address;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Home{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
